package com.my.study.jdbc.entity;

/**
 * @author Carlos
 * @version 1.0
 * @Description 书籍
 * @date 2021/11/7 12:25
 **/
public class BookEntity {

    private Long bookId;
    private String bookName;
    private Double price;
    private String author;
    private String pic;
    private String publisher;

    public BookEntity() {
    }

    public BookEntity(Long bookId, String bookName, Double price, String author, String pic, String publisher) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.price = price;
        this.author = author;
        this.pic = pic;
        this.publisher = publisher;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }
}
